<?xml version="1.0" encoding="UTF-8"?>
<definitions
  xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL"
  xmlns:camunda="http://camunda.org/schema/1.0/bpmn"
  targetNamespace="Examples">

  <process id="oneScriptTaskProcess" name="The One Task Process" isExecutable="true">
    <documentation>This is a process for testing purposes</documentation>
  
    <startEvent id="theStart" />
    <sequenceFlow id="flow1" sourceRef="theStart" targetRef="theTask" />
    
    <scriptTask id="theTask" name="Script" scriptFormat="groovy">
      <script>
        <![CDATA[
        variable = execution.getVariable("var")
        variable.setIntProperty(variable.getIntProperty() + 1)
        ]]>
      </script>
    </scriptTask>
    
    <sequenceFlow id="flow2" sourceRef="theTask" targetRef="theEnd" />
    <endEvent id="theEnd" />
    
  </process>

</definitions>
